import request from '@/utils/request'

export function groupList(query) {
  return request({
    url: '/group/groupList',
    method: 'get',
    params: query
  })
}

export function groupEdit(data) {
  return request({
    url: '/group/groupEdit',
    method: 'post',
    data
  })
}

export function logList(query) {
  return request({
    url: '/group/logList',
    method: 'get',
    params: query
  })
}
export function themeList(query) {
  return request({
    url: '/group/themeList',
    method: 'get',
    params: query
  })
}
export function themeDel(query) {
  return request({
    url: '/group/themeDel',
    method: 'get',
    params: query
  })
}
export function commentList(query) {
  return request({
    url: '/group/commentList',
    method: 'get',
    params: query
  })
}

export function commentDel(query) {
  return request({
    url: '/group/commentDel',
    method: 'get',
    params: query
  })
}

export function commentSubList(query) {
  return request({
    url: '/group/commentSubList',
    method: 'get',
    params: query
  })
}
export function commentSubDel(query) {
  return request({
    url: '/group/commentSubDel',
    method: 'get',
    params: query
  })
}
